Bookly\Lib\Utils\Common B

Total Complexity 93
Dependencies 10
Dependents 70
Total lines 699
Lines of code 420
Logical lines of code 154
Comment lines 183
Methods 32
Properties 1

Methods 32

Method Rating Maintainability Complexity Lines of code
getCalendarSettings()
A
41 11 51
getGateways()
S
51 6 27
noCache()
S
62 6 13
getDurationSelectOptions()
S
52 5 26
getServiceDataForDropDown()
S
52 5 25
getIndustries()
S
36 1 85
cancelAppointmentRedirect()
S
58 5 16
postsHaveShortCode()
S
62 5 11
getAdminEmails()
S
55 4 18
getCurrentPageURL()
S
63 5 9
getCurrentUserTimeZone()
S
61 4 12
getEmailHeaders()
S
59 3 13
_xor()
S
63 3 9
isCurrentUserCustomer()
S
71 3 5
redirect()
S
58 1 21
generateToken()
S
66 2 8
getFilesystem()
S
67 2 7
prepareUrlReferrers()
S
64 2 10
getCsrfToken()
S
70 2 6
escAdminUrl()
S
67 2 7
isCurrentUserAdmin()
S
78 2 3
getRequiredCapability()
S
79 2 3
isCurrentUserStaff()
S
73 2 4
isCurrentUserSupervisor()
S
78 2 3
stripScripts()
S
78 1 3
html()
S
81 1 3
getTranslatedString()
S
77 1 3
xorDecrypt()
S
78 1 3
disableEmoji()
S
68 1 7
xorEncrypt()
S
78 1 3
getTranslatedOption()
S
78 1 3
css()
S
78 1 3